package cn.fbs.dao.dm;

import cn.fbs.model.dm.UserExamine;
import org.apache.ibatis.annotations.Param;

public interface UserExamineMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserExamine record);

    int insertSelective(UserExamine record);

    UserExamine selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserExamine record);

    int updateByPrimaryKey(UserExamine record);

    Integer countByGroupId(@Param("groupId") Long groupId,@Param("messageId")Long messageId);

    UserExamine ifExist(UserExamine userExamine);

    Integer getExamineType(@Param("userId") Long userId,
                           @Param("messageId")Long messageId,
                           @Param("mediaType")Integer mediaType);


//    void checkImage(Long dataId, int medisType, Long userId, String o);
}